package com.crm.system.service.knowledgeitem;

import com.crm.common.model.DhPageInfo;
import com.crm.model.entity.knowledgeitem.KnowledgeSection;
import com.crm.model.qo.knowledgeitem.KnowledgeSectionQO;
import com.crm.model.vo.knowledgeitem.KnowledgeSectionVO;


public interface KnowledgeSectionService {


    Boolean insert(KnowledgeSectionQO sectionQO);


    Boolean update(KnowledgeSectionQO sectionQO);


    DhPageInfo<KnowledgeSectionVO> selectListByKnItemId(String itemId,
                                                        Integer pageIndex,
                                                        Integer pageSize);


    Boolean deleteById(String sectionId, short deleteStatus);


    KnowledgeSection selectKnSectionByKey(String sectionId);

}
